<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/xhtml;charset=utf-8" http-equiv="Content-Type"/>
<meta content="IE=9" http-equiv="X-UA-Compatible"/>
<meta content="Doxygen 1.8.13" name="generator"/>
<title>OpenCV: cv::reg::MapProjec Class Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script src="../../jquery.js" type="text/javascript"></script>
<script src="../../dynsections.js" type="text/javascript"></script>
<script src="../../tutorial-utils.js" type="text/javascript"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script src="../../search/searchdata.js" type="text/javascript"></script>
<script src="../../search/search.js" type="text/javascript"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js" type="text/javascript"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellpadding="0" cellspacing="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
    <span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script src="../../menudata.js" type="text/javascript"></script>
<script src="../../menu.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow" onkeydown="return searchBox.OnSearchSelectKey(event)" onmouseout="return searchBox.OnSearchSelectHide()" onmouseover="return searchBox.OnSearchSelectShow()">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe frameborder="0" id="MSearchResults" name="MSearchResults" src="javascript:void(0)">
</iframe>
</div>
<div class="navpath" id="nav-path">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../dd/d9a/namespacecv_1_1reg.html">reg</a></li><li class="navelem"><a class="el" href="../../d2/dcd/classcv_1_1reg_1_1MapProjec.html">MapProjec</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="../../d3/d37/classcv_1_1reg_1_1MapProjec-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cv::reg::MapProjec Class Reference<div class="ingroups"><a class="el" href="../../db/d61/group__reg.html">Image Registration</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;opencv2/reg/mapprojec.hpp&gt;</code></p>
<div class="dynheader">
Inheritance diagram for cv::reg::MapProjec:</div>
<div class="dyncontent">
 <div class="center">
  <img alt="" src="../../d2/dcd/classcv_1_1reg_1_1MapProjec.png" usemap="#cv::reg::MapProjec_map"/>
  <map id="cv::reg::MapProjec_map" name="cv::reg::MapProjec_map">
<area alt="cv::reg::Map" coords="0,0,119,24" href="../../d3/d3c/classcv_1_1reg_1_1Map.html" shape="rect" title="Base class for modelling a Map between two images. "/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1a2300e403fb9d92ecbfbfc4437dfe85"><td align="right" class="memItemLeft" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dcd/classcv_1_1reg_1_1MapProjec.html#a1a2300e403fb9d92ecbfbfc4437dfe85">MapProjec</a> ()</td></tr>
<tr class="separator:a1a2300e403fb9d92ecbfbfc4437dfe85"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a89f46cb3a18dd8b293e8d2ed6b64caa3"><td align="right" class="memItemLeft" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dcd/classcv_1_1reg_1_1MapProjec.html#a89f46cb3a18dd8b293e8d2ed6b64caa3">MapProjec</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> projTr)</td></tr>
<tr class="separator:a89f46cb3a18dd8b293e8d2ed6b64caa3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5ab075fde0dec6818fc3fec6397dc46f"><td align="right" class="memItemLeft" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dcd/classcv_1_1reg_1_1MapProjec.html#a5ab075fde0dec6818fc3fec6397dc46f">~MapProjec</a> ()</td></tr>
<tr class="separator:a5ab075fde0dec6818fc3fec6397dc46f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a50def8f2eef5f2f984b331fccc401f8b"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dcd/classcv_1_1reg_1_1MapProjec.html#a50def8f2eef5f2f984b331fccc401f8b">compose</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">cv::Ptr</a>&lt; <a class="el" href="../../d3/d3c/classcv_1_1reg_1_1Map.html">Map</a> &gt; map) <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a></td></tr>
<tr class="separator:a50def8f2eef5f2f984b331fccc401f8b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a32509d456ccaa76f34973d820cbe6453"><td align="right" class="memItemLeft" valign="top">const <a class="el" href="../../de/de1/classcv_1_1Matx.html">cv::Matx</a>&lt; double, 3, 3 &gt; &amp; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dcd/classcv_1_1reg_1_1MapProjec.html#a32509d456ccaa76f34973d820cbe6453">getProjTr</a> () const</td></tr>
<tr class="separator:a32509d456ccaa76f34973d820cbe6453"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a885fe04ec549c32ee77ea5bbc45e2050"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dcd/classcv_1_1reg_1_1MapProjec.html#a885fe04ec549c32ee77ea5bbc45e2050">getProjTr</a> (<a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> projTr) const</td></tr>
<tr class="separator:a885fe04ec549c32ee77ea5bbc45e2050"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac7b99925455e3f507110aeb51ec8e69d"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">cv::Ptr</a>&lt; <a class="el" href="../../d3/d3c/classcv_1_1reg_1_1Map.html">Map</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dcd/classcv_1_1reg_1_1MapProjec.html#ac7b99925455e3f507110aeb51ec8e69d">inverseMap</a> () const <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a></td></tr>
<tr class="separator:ac7b99925455e3f507110aeb51ec8e69d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abb00b486f8d6ead26f153f9ff1802c4f"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dcd/classcv_1_1reg_1_1MapProjec.html#abb00b486f8d6ead26f153f9ff1802c4f">inverseWarp</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> img1, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> img2) const <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a></td></tr>
<tr class="separator:abb00b486f8d6ead26f153f9ff1802c4f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aefc01541eeaf8063f6d2f19cc46fe0e0"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dcd/classcv_1_1reg_1_1MapProjec.html#aefc01541eeaf8063f6d2f19cc46fe0e0">normalize</a> ()</td></tr>
<tr class="separator:aefc01541eeaf8063f6d2f19cc46fe0e0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af53d8ef43de3cc8cfe4ac8308f9391f2"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dcd/classcv_1_1reg_1_1MapProjec.html#af53d8ef43de3cc8cfe4ac8308f9391f2">scale</a> (double factor) <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a></td></tr>
<tr class="separator:af53d8ef43de3cc8cfe4ac8308f9391f2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classcv_1_1reg_1_1Map"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcv_1_1reg_1_1Map')"><img alt="-" src="../../closed.png"/> Public Member Functions inherited from <a class="el" href="../../d3/d3c/classcv_1_1reg_1_1Map.html">cv::reg::Map</a></td></tr>
<tr class="memitem:afaab55825ddfaf5a44de8d8ae69d92e8 inherit pub_methods_classcv_1_1reg_1_1Map"><td align="right" class="memItemLeft" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d3c/classcv_1_1reg_1_1Map.html#afaab55825ddfaf5a44de8d8ae69d92e8">~Map</a> ()</td></tr>
<tr class="separator:afaab55825ddfaf5a44de8d8ae69d92e8 inherit pub_methods_classcv_1_1reg_1_1Map"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4b5685d4c72921bb1ee167252b00dbe0 inherit pub_methods_classcv_1_1reg_1_1Map"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d3c/classcv_1_1reg_1_1Map.html#a4b5685d4c72921bb1ee167252b00dbe0">warp</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> img1, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> img2) const</td></tr>
<tr class="separator:a4b5685d4c72921bb1ee167252b00dbe0 inherit pub_methods_classcv_1_1reg_1_1Map"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a id="details" name="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Defines an transformation that consists on a projective transformation </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a1a2300e403fb9d92ecbfbfc4437dfe85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a2300e403fb9d92ecbfbfc4437dfe85">◆ </a></span>MapProjec() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cv::reg::MapProjec::MapProjec </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>&lt;reg_MapProjec object&gt;</td><td>=</td><td>cv.reg_MapProjec(</td><td class="paramname"></td><td>)</td></tr><tr><td style="width: 20px;"></td><td>&lt;reg_MapProjec object&gt;</td><td>=</td><td>cv.reg_MapProjec(</td><td class="paramname">projTr</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Default constructor builds an identity map </p>
</div>
</div>
<a id="a89f46cb3a18dd8b293e8d2ed6b64caa3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89f46cb3a18dd8b293e8d2ed6b64caa3">◆ </a></span>MapProjec() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cv::reg::MapProjec::MapProjec </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>projTr</em></td><td>)</td>
          <td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>&lt;reg_MapProjec object&gt;</td><td>=</td><td>cv.reg_MapProjec(</td><td class="paramname"></td><td>)</td></tr><tr><td style="width: 20px;"></td><td>&lt;reg_MapProjec object&gt;</td><td>=</td><td>cv.reg_MapProjec(</td><td class="paramname">projTr</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Constructor providing explicit values </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">projTr</td><td>Projective transformation </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="a5ab075fde0dec6818fc3fec6397dc46f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ab075fde0dec6818fc3fec6397dc46f">◆ </a></span>~MapProjec()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cv::reg::MapProjec::~MapProjec </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Destructor </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a50def8f2eef5f2f984b331fccc401f8b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a50def8f2eef5f2f984b331fccc401f8b">◆ </a></span>compose()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void cv::reg::MapProjec::compose </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">cv::Ptr</a>&lt; <a class="el" href="../../d3/d3c/classcv_1_1reg_1_1Map.html">Map</a> &gt; </td>
          <td class="paramname"><em>map</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.reg_MapProjec.compose(</td><td class="paramname">map</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Changes the map composing the current transformation with the one provided in the call. The order is first the current transformation, then the input argument. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">map</td><td>Transformation to compose with. </td></tr>
  </table>
  </dd>
</dl>
<p>Implements <a class="el" href="../../d3/d3c/classcv_1_1reg_1_1Map.html#a4bcfdd6ada1197995073aae3f1e136ed">cv::reg::Map</a>.</p>
</div>
</div>
<a id="a32509d456ccaa76f34973d820cbe6453"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32509d456ccaa76f34973d820cbe6453">◆ </a></span>getProjTr() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="../../de/de1/classcv_1_1Matx.html">cv::Matx</a>&lt;double, 3, 3&gt;&amp; cv::reg::MapProjec::getProjTr </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>projTr</td><td>=</td><td>cv.reg_MapProjec.getProjTr(</td><td class="paramname">[, projTr]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Returns projection matrix </p><dl class="section return"><dt>Returns</dt><dd>Projection matrix </dd></dl>
</div>
</div>
<a id="a885fe04ec549c32ee77ea5bbc45e2050"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a885fe04ec549c32ee77ea5bbc45e2050">◆ </a></span>getProjTr() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void cv::reg::MapProjec::getProjTr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> </td>
          <td class="paramname"><em>projTr</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>projTr</td><td>=</td><td>cv.reg_MapProjec.getProjTr(</td><td class="paramname">[, projTr]</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="ac7b99925455e3f507110aeb51ec8e69d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7b99925455e3f507110aeb51ec8e69d">◆ </a></span>inverseMap()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">cv::Ptr</a>&lt;<a class="el" href="../../d3/d3c/classcv_1_1reg_1_1Map.html">Map</a>&gt; cv::reg::MapProjec::inverseMap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.reg_MapProjec.inverseMap(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Calculates the inverse map </p><dl class="section return"><dt>Returns</dt><dd>Inverse map </dd></dl>
<p>Implements <a class="el" href="../../d3/d3c/classcv_1_1reg_1_1Map.html#ac1720d6a6875d6c8ef132941dd3dd29a">cv::reg::Map</a>.</p>
</div>
</div>
<a id="abb00b486f8d6ead26f153f9ff1802c4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb00b486f8d6ead26f153f9ff1802c4f">◆ </a></span>inverseWarp()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void cv::reg::MapProjec::inverseWarp </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>img1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> </td>
          <td class="paramname"><em>img2</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>img2</td><td>=</td><td>cv.reg_MapProjec.inverseWarp(</td><td class="paramname">img1[, img2]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Warps image to a new coordinate frame. The calculation is img2(x)=img1(T(x)), so in fact this is the inverse warping as we are taking the value of img1 with the forward transformation of the points. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">img1</td><td>Original image </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">img2</td><td>Warped image </td></tr>
  </table>
  </dd>
</dl>
<p>Implements <a class="el" href="../../d3/d3c/classcv_1_1reg_1_1Map.html#a8c68ada5f02eff2a48c8b5654ce61ca4">cv::reg::Map</a>.</p>
</div>
</div>
<a id="aefc01541eeaf8063f6d2f19cc46fe0e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aefc01541eeaf8063f6d2f19cc46fe0e0">◆ </a></span>normalize()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void cv::reg::MapProjec::normalize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.reg_MapProjec.normalize(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Normalizes object's homography </p>
</div>
</div>
<a id="af53d8ef43de3cc8cfe4ac8308f9391f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af53d8ef43de3cc8cfe4ac8308f9391f2">◆ </a></span>scale()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void cv::reg::MapProjec::scale </td>
          <td>(</td>
          <td class="paramtype">double </td>
          <td class="paramname"><em>factor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.reg_MapProjec.scale(</td><td class="paramname">factor</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Scales the map by a given factor as if the coordinates system is expanded/compressed by that factor. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">factor</td><td>Expansion if bigger than one, compression if smaller than one </td></tr>
  </table>
  </dd>
</dl>
<p>Implements <a class="el" href="../../d3/d3c/classcv_1_1reg_1_1Map.html#ae59ab0d4f97c5066b7922cfcfcb42abd">cv::reg::Map</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>opencv2/reg/<a class="el" href="../../df/d08/mapprojec_8hpp.html">mapprojec.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:48 for OpenCV by  <a href="http://www.doxygen.org/index.html">
<img alt="doxygen" class="footer" src="../../doxygen.png"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
